﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Lion.Model;

namespace Forest.Lion.Data {
    public interface IContractRepository {
        void Create(Contract contract);
        Contract GetContract(Guid contractId);
        void Update(Contract contract);
        void Delete(Guid contractId);
        IEnumerable<Contract> Find();

        IEnumerable<Contract> GetAll();

        Contract GetByCompanyId(Guid companyId);
        IEnumerable<Contract> GetContracts(Guid companyId);
    }
}
